@import 'scss-imports/cssvars';

:host ::ng-deep ix-with-loading-state-error {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex: 1;
  font-size: 24px;
  font-weight: bold;
  height: 100%;
  padding: 16px;
  place-content: center center;
  text-align: center;
  width: 100%;
}

.card {
  height: 100%;

  ::ng-deep > ix-with-loading-state-loader {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
  }

  .header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 54px;
    padding: 16px 8px 8px 16px;
  }

  .card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
}

.container {
  overflow: hidden;

  &.grid {
    display: grid;
    gap: 6px;
    grid-template-columns: 25% 75%;
    grid-template-rows: auto;
    height: 100%;
    padding-bottom: 6px;
    padding-top: 6px;
  }

  &.empty {
    align-items: center;
    place-content: center center;
    text-align: center;

    ix-icon {
      font-size: 48px;
    }

    &.full {
      padding: 0 16px 48px;
    }
  }

  &.quarter {
    padding: 8px;
  }
}

ix-app-card-logo {
  align-items: center;
  background: var(--bg1);
  display: inline-flex;
  padding: 0;
  place-content: center center;
}

.app-stats-row {
  display: flex;
  flex: 1;
  gap: 8px;

  h4 {
    font-size: 16px;
  }

  strong {
    font-size: 12px;
  }
}

.square {
  align-items: center;
  background: var(--bg1);
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  text-align: center;
}

.rectangle {
  align-items: center;
  background: var(--bg1);
  display: inline-flex;
  place-content: center center;
}
